﻿using System;
using System.Collections.Generic;
using System.Text;
using AdaptiveAgents.Loggers;
using AdaptiveAgents.Agents.Predicters;
using AdaptiveAgents.Agents.Choosers;

namespace AdaptiveAgents.Agents
{
    /// <summary>
    /// Builds a default agent 
    /// (behaves "normally", see documentation of NormalNextPlayerChooser and NormalNextPlayerPredicter) 
    /// </summary>
    public class NormalBuilder : AgentBuilder
    {
        public override void buildNextPlayerDecision()
        {
            _agent.NextPlayerChooser = new NormalNextPlayerChooser(_agent);   
        }

        public override void buildNextPlayerPrediction()
        {
            _agent.NextPlayerPredicter = new NormalNextPlayerPredicter(_agent);
           
        }

        public override void buildMemoryOfAgent()
        {
            _agent.Memory = int.MaxValue;
        }
    } 
}
